package com.paranoidmonkey.ode.Joint;

import com.paranoidmonkey.ode.AndrODE;

public class JointGroup {
	public long groupID;
	
	public JointGroup(int max_size){
		groupID= AndrODE.dJointGroupCreate(max_size);
	}

	private JointGroup(long handle){
		groupID=handle;
	}
	
	public static JointGroup Null(){
		return new JointGroup((long)0);
	}
	public void destroy(){
		AndrODE.dJointGroupDestroy (groupID);
	}
	public void empty(){
		AndrODE.dJointGroupEmpty (groupID);
	}

}
